<!doctype html>
<html lang="zh">
<head>
	<meta charset="utf-8">
	<title>疆贸网综合服务平台</title>
	<meta name="keywords" content="外贸,服务平台">
	<meta name="description" content="疆贸网综合服务平台，助力出海！">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,shrink-to-fit=no">
	<link rel="stylesheet" href="${tpath}/static/bootstrap/css/bootstrap.min.css" >
	<link rel="stylesheet" href="${tpath}/static/font-awesome-4.7.0/css/font-awesome.min.css">
	<link rel="stylesheet" href="${tpath}/static/css/aoyun.css?v=v1.3.5" >
	<link rel="stylesheet" href="${tpath}/static/swiper-4.3.5/css/swiper.min.css">
	<link rel="stylesheet" href="${tpath}/static/css/animate.css">
	<script src="${tpath}/static/js/jquery-1.12.4.min.js" ></script>
</head>
<body>
<!-- header start -->
<#include "${tpath}/header.html">
<!-- header end -->

<!-- top start -->
<#include "${tpath}/top.html">
<!-- top end -->

<div class="container pages">    

  	 <!-- position start -->
	<#include "${tpath}/position.html">
	<!-- position end -->

	 <!-- 列表内容 -->
	 <@content_page categoryId=currentCategory.id pageNumber=pageNumber pageSize = 10>
     <ul>
        <#list contentPage.records as content>
        	<li class="lh-3 border-bottom-dashed">
                <i class="fa fa-gg"></i>
                <a href="${content.path}">
                	<span class="d-none d-md-inline">${abbreviate(content.title,30,'')}</span><!-- PC端 -->
                	<span class="d-inline d-md-none">${abbreviate(content.title,11,'')}</span><!-- 移动端 -->
                	<#if content.isTop?? && content.isTop>
                		<span class="badge badge-danger">置顶</span>
                	<#elseif content.isRecommend?? && content.isRecommend>
                		<span class="badge badge-warning">推荐</span>
                	<#elseif content.isHeadline?? && content.isHeadline>
                		<span class="badge badge-info">头条</span>
					</#if>
                	<span class="float-right">${date(content.createDate,'yyyy-MM-dd')}</span>
                </a>
            </li>
		</#list>
    </ul>
    
	<!-- page start -->
	 <@pagination pageNumber=contentPage.current totalPages=contentPage.pages pattern=currentCategory.path+"?pageNumber=">
		 <#include "${tpath}/page.html">
	 </@pagination>
    <!-- page end -->

	 </@content_page>
 	
</div>

<!-- footer start -->
<#include "${tpath}/footer.html">
<!-- footer end -->

</body>
</html>
